<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/view/modules/sys/include/taglib.jsp"%>
<%@ include file="/WEB-INF/view/modules/sys/include/head.jsp"%>
<div class="main-container">
    <div class="padding-md" style="margin-left: -330px">
        <div class="smart-widget-body">
            <form action="${pageContext.request.contextPath}/user/update" method="post" class="form-horizontal no-margin" id="type-constraint" data-validate="parsley" novalidate="">
                <span style="display: none" ><input type="text" name="id" value="${user.id}"/></span>
                <div class="form-group">
                    <label class="control-label col-lg-3">年龄</label>
                    <div class="col-lg-9">
                        <input type="text" class="form-control input-sm" name="age" value="${user.age}" required placeholder="${user.age} ">
                    </div><!-- /.col -->
                </div><!-- /form-group -->
                <div class="form-group">
                    <label class="control-label col-lg-3">用户名</label>
                    <div class="col-lg-9">
                        <input type="text" class="form-control input-sm" name="username" value="${user.username}" required placeholder="${user.username}">
                    </div><!-- /.col -->
                </div><!-- /form-group -->
                <div class="form-group">
                    <label class="control-label col-lg-3">性别</label>
                    <div class="col-lg-9">
                        <input type="text" class="form-control input-sm" name="sex" value="${user.sex}"  placeholder="${user.sex}">
                    </div><!-- /.col -->
                </div><!-- /form-group -->
                <div class="form-group">
                    <label class="control-label col-lg-3">身份证号</label>
                    <div class="col-lg-9">
                        <input type="text" class="form-control input-sm" name="idNumber" value="${user.idNumber}"  placeholder="${user.idNumber}">
                    </div><!-- /.col -->
                </div><!-- /form-group -->
                <div class="form-group">
                    <label class="control-label col-lg-3">国籍</label>
                    <div class="col-lg-9">
                        <input type="text" class="form-control input-sm" name="country" value="${user.country}"  placeholder="${user.country}">
                    </div><!-- /.col -->
                </div><!-- /form-group -->
                <div class="form-group">
                    <label class="control-label col-lg-3">省份</label>
                    <div class="col-lg-9">
                        <input type="text" class="form-control input-sm" name="province" value="${user.province}"  placeholder="${user.province}">
                    </div><!-- /.col -->
                </div><!-- /form-group -->
                <div class="form-group">
                    <label class="control-label col-lg-3">城市</label>
                    <div class="col-lg-9">
                        <input type="text" class="form-control input-sm" name="city" value="${user.city}"  placeholder="${user.city}">
                    </div><!-- /.col -->
                </div><!-- /form-group -->
                <div class="form-group">
                    <label class="control-label col-lg-3">区域</label>
                    <div class="col-lg-9">
                        <input type="text" class="form-control input-sm" name="area" value="${user.area}"  placeholder="${user.area}">
                    </div><!-- /.col -->
                </div><!-- /form-group -->
                <div class="form-group">
                    <label class="control-label col-lg-3">电子邮件</label>
                    <div class="col-lg-9">
                        <input type="text" class="form-control input-sm" name="email" value="${user.email}"  placeholder="${user.email}">
                    </div><!-- /.col -->
                </div><!-- /form-group -->


                <div class="form-group">
                    <label class="control-label col-lg-3">电话号码</label>
                    <div class="col-lg-9">
                        <input type="text" class="form-control input-sm" name="phone" value="${user.phone}"  placeholder="${user.phone}">
                    </div><!-- /.col -->
                </div><!-- /form-group -->
                <div class="text-right m-top-md">
                    <button type="submit" class="btn btn-info">提交</button>
                </div>
            </form>
        </div>
    </div>
</div>
<%@include file="/WEB-INF/view/modules/sys/include/footerlib.jsp"%>
</body>
</html>
